package com.aios.service;

import java.io.Serializable;
import java.util.List;

public interface GenericService<T, K extends Serializable> {

	List<T> findAll();

	List<T> findAllNotDisabled();

	List<T> findAllDisabled();

	T findById(K id);

	int save(T entity);

	int update(T entity);

	int delete(T entity);

	int delete(K id);

	int save(T entity, Integer systemUserID);

	int update(T entity, Integer systemUserID);

}
